<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>EnTech FPK: SystematicRobot Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">EnTech FPK
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">FRC Programming Kit by the EnTech 281 GreenVillains</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_systematic_robot-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SystematicRobot Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_systematic_robot_8hpp_source.html">SystematicRobot.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for SystematicRobot:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_systematic_robot.png" usemap="#SystematicRobot_map" alt=""/>
  <map id="SystematicRobot_map" name="SystematicRobot_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac6777138ed80b837484dbb90648e7b8f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#ac6777138ed80b837484dbb90648e7b8f">SystematicRobot</a> ()</td></tr>
<tr class="separator:ac6777138ed80b837484dbb90648e7b8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a654fbc9c376e91c06d5a0b05a9736198"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#a654fbc9c376e91c06d5a0b05a9736198">~SystematicRobot</a> ()</td></tr>
<tr class="separator:a654fbc9c376e91c06d5a0b05a9736198"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a275212f2365697c5ee7e49d9f23ff96a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#a275212f2365697c5ee7e49d9f23ff96a">AddSubsystem</a> (<a class="el" href="class_robot_subsystem.html">RobotSubsystem</a> &amp;subsystem)</td></tr>
<tr class="separator:a275212f2365697c5ee7e49d9f23ff96a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62f144ef5887ce42cd73e845b30f018a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#a62f144ef5887ce42cd73e845b30f018a">AddSubsystem</a> (<a class="el" href="class_robot_subsystem.html">RobotSubsystem</a> *subsystem)</td></tr>
<tr class="separator:a62f144ef5887ce42cd73e845b30f018a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a911af02148014119b4e0c5b4d8b00ae4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#a911af02148014119b4e0c5b4d8b00ae4">AddPersistentService</a> (<a class="el" href="class_service.html">Service</a> &amp;service)</td></tr>
<tr class="separator:a911af02148014119b4e0c5b4d8b00ae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23136dba9b43b9ae9f8733e6afcfb068"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#a23136dba9b43b9ae9f8733e6afcfb068">AddEnabledService</a> (<a class="el" href="class_service.html">Service</a> &amp;service)</td></tr>
<tr class="separator:a23136dba9b43b9ae9f8733e6afcfb068"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b5041a125c5f21dd8f7100124151a4d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#a4b5041a125c5f21dd8f7100124151a4d">AddAutonomousService</a> (<a class="el" href="class_service.html">Service</a> &amp;service)</td></tr>
<tr class="separator:a4b5041a125c5f21dd8f7100124151a4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa29cc6535f47668622f4c6e7411e4077"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#aa29cc6535f47668622f4c6e7411e4077">AddTeleopService</a> (<a class="el" href="class_service.html">Service</a> &amp;service)</td></tr>
<tr class="separator:aa29cc6535f47668622f4c6e7411e4077"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31281a11abb738f73bfa2c4393b3bdeb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#a31281a11abb738f73bfa2c4393b3bdeb">AddTestService</a> (<a class="el" href="class_service.html">Service</a> &amp;service)</td></tr>
<tr class="separator:a31281a11abb738f73bfa2c4393b3bdeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1906802e28c2223dea24605a5153afde"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#a1906802e28c2223dea24605a5153afde">GetPeriod</a> ()</td></tr>
<tr class="separator:a1906802e28c2223dea24605a5153afde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34a2e37910d74c59d3e501571af651b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#a34a2e37910d74c59d3e501571af651b2">SetPeriod</a> (double period)</td></tr>
<tr class="separator:a34a2e37910d74c59d3e501571af651b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef15b2c39270266c328205923c33e6f4"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#aef15b2c39270266c328205923c33e6f4">GetLoopsPerSec</a> ()</td></tr>
<tr class="separator:aef15b2c39270266c328205923c33e6f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a44bfb4d5c12753c430f8f953dd10b414"><td class="memItemLeft" align="right" valign="top">static const double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#a44bfb4d5c12753c430f8f953dd10b414">sDefaultPeriod</a> = 0.0</td></tr>
<tr class="separator:a44bfb4d5c12753c430f8f953dd10b414"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:abcb799ee3939531d097b7097516a0547"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abcb799ee3939531d097b7097516a0547"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>StartCompetition</b> ()</td></tr>
<tr class="separator:abcb799ee3939531d097b7097516a0547"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab52c5dcca0d153bd142a7ba31d9f6488"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_systematic_robot.html#ab52c5dcca0d153bd142a7ba31d9f6488">Initialize</a> ()</td></tr>
<tr class="separator:ab52c5dcca0d153bd142a7ba31d9f6488"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:aff995bb6d990b08ce3a0d868f0532e50"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff995bb6d990b08ce3a0d868f0532e50"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>Subscriber</b></td></tr>
<tr class="separator:aff995bb6d990b08ce3a0d868f0532e50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15f66c7ea6739b10f4496bda8a0536b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15f66c7ea6739b10f4496bda8a0536b9"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>GameService</b></td></tr>
<tr class="separator:a15f66c7ea6739b10f4496bda8a0536b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_systematic_robot.html">SystematicRobot</a> class represents a robot that holds all the subsystems and services and delegates to them.</p>
<p><a class="el" href="class_systematic_robot.html">SystematicRobot</a> is a cooler version of IterativeRobot, so the underlying control flow is similar. The robot will periodicly call (as part of it's periodic loop) the HandlePeriodic function in each awake <a class="el" href="class_robot_subsystem.html">RobotSubsystem</a> and running <a class="el" href="class_service.html">Service</a> that has been added to the robot. Most of your code will probably go in the HandlePeriodic functions.</p>
<p>For understanding how work should be delegated to subsystems and service, consult the <a class="el" href="class_robot_subsystem.html">RobotSubsystem</a> and <a class="el" href="class_service.html">Service</a> pages.</p>
<p>To use it, create a subclass place code in the constructor to add subsystems and services to your robot. Be sure to add your persistent, enabled, autonomous, and teleop services that will start and stop the other services when necessary. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac6777138ed80b837484dbb90648e7b8f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SystematicRobot::SystematicRobot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor for <a class="el" href="class_systematic_robot.html">SystematicRobot</a>. </p>

</div>
</div>
<a class="anchor" id="a654fbc9c376e91c06d5a0b05a9736198"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SystematicRobot::~SystematicRobot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destructor for <a class="el" href="class_systematic_robot.html">SystematicRobot</a>. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4b5041a125c5f21dd8f7100124151a4d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SystematicRobot::AddAutonomousService </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_service.html">Service</a> &amp;&#160;</td>
          <td class="paramname"><em>service</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add a <a class="el" href="class_service.html">Service</a> to be running when and only when the robot is in Autonomous.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">controller</td><td>The service to add to the robot. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a23136dba9b43b9ae9f8733e6afcfb068"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SystematicRobot::AddEnabledService </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_service.html">Service</a> &amp;&#160;</td>
          <td class="paramname"><em>service</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add a <a class="el" href="class_service.html">Service</a> to be running when and only when the robot is enabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">controller</td><td>The service to add to the robot. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a911af02148014119b4e0c5b4d8b00ae4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SystematicRobot::AddPersistentService </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_service.html">Service</a> &amp;&#160;</td>
          <td class="paramname"><em>service</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add a <a class="el" href="class_service.html">Service</a> to be always running.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">controller</td><td>The service to add to the robot. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a275212f2365697c5ee7e49d9f23ff96a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SystematicRobot::AddSubsystem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_robot_subsystem.html">RobotSubsystem</a> &amp;&#160;</td>
          <td class="paramname"><em>subsystem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add another <a class="el" href="class_robot_subsystem.html">RobotSubsystem</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">subsystem</td><td>The subsystem to add to the robot. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a62f144ef5887ce42cd73e845b30f018a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SystematicRobot::AddSubsystem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_robot_subsystem.html">RobotSubsystem</a> *&#160;</td>
          <td class="paramname"><em>subsystem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add another <a class="el" href="class_robot_subsystem.html">RobotSubsystem</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">subsystem</td><td>The subsystem to add to the robot. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa29cc6535f47668622f4c6e7411e4077"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SystematicRobot::AddTeleopService </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_service.html">Service</a> &amp;&#160;</td>
          <td class="paramname"><em>service</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add a <a class="el" href="class_service.html">Service</a> to be activate when and only when the robot is in Teleop.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">controller</td><td>The service to add to the robot. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a31281a11abb738f73bfa2c4393b3bdeb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SystematicRobot::AddTestService </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_service.html">Service</a> &amp;&#160;</td>
          <td class="paramname"><em>service</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add a <a class="el" href="class_service.html">Service</a> to be running when and only when the robot is in Test.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">controller</td><td>The service to add to the robot. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aef15b2c39270266c328205923c33e6f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double SystematicRobot::GetLoopsPerSec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets the number of periodic loops per second.</p>
<p>Almost exactly like IterativeRobot::GetLoopsPerSec().</p>
<dl class="section return"><dt>Returns</dt><dd>The number of periodic loops per second. </dd></dl>

</div>
</div>
<a class="anchor" id="a1906802e28c2223dea24605a5153afde"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double SystematicRobot::GetPeriod </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets the time between each periodic loop or 0 if it waits until the driver station sends data.</p>
<p>Almost exactly like IterativeRobot::GetPeriod().</p>
<dl class="section return"><dt>Returns</dt><dd>The time between each periodic loop or 0 if it waits until the driver station sends data. </dd></dl>

</div>
</div>
<a class="anchor" id="ab52c5dcca0d153bd142a7ba31d9f6488"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SystematicRobot::Initialize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Your robot's subsystems and services could be added here.</p>
<p>Or you could just put it in the constructor.</p>
<p>Users could override this method to add their robot's subsystems and controllers. </p>

</div>
</div>
<a class="anchor" id="a34a2e37910d74c59d3e501571af651b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SystematicRobot::SetPeriod </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>period</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set the time between each periodic loop or 0 for it to wait until the driver station sends data.</p>
<p>Almost exactly like IterativeRobot::SetPeriod().</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">period</td><td>The time between each periodic loop or 0 for it to wait until the driver station sends data. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a44bfb4d5c12753c430f8f953dd10b414"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const double SystematicRobot::sDefaultPeriod = 0.0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The default time per period.</p>
<p>Will be 0 if it waits until the driver station sends data. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/Users/Sam/Projects/FRC/Libraries/Fpk/Entech-Fpk-Subscribers/Entech-Fpk/<a class="el" href="_systematic_robot_8hpp_source.html">SystematicRobot.hpp</a></li>
<li>C:/Users/Sam/Projects/FRC/Libraries/Fpk/Entech-Fpk-Subscribers/Entech-Fpk/SystematicRobot.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Aug 12 2013 16:46:51 for EnTech FPK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
